{% extends "afcp/base.html" %}
{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
  - http://heavyz.blogspot.com/
  - http://buggarden.blogspot.com/

  Created on 2008-11-14.
  $Id: profile.html 305 2008-12-19 12:51:21Z heavyzheng $
-->
{% endcomment %}

{% load i18n %}

{#------------------------------------------------------------------------------------------------#}

{% block html_head %}

<title>inscription :: AFCP</title>

<link rel="stylesheet" type="text/css" media="screen,print" href="{{ static_ }}/afcp/stylesheets/sections.css"/>

<script type="text/javascript">//<![CDATA[

function closeMessage() {
    $(".message").hide("slow");
}

function showInscription() {
    $("#edit_inscription"  ).hide();
    $("#inscription"       ).show("slow");
}

function showUnivForm(value) {
	if( value == "None" )
		$("#univ_inscription" ).show();
	else
		$("#univ_inscription" ).hide();
}

function showEcoleForm(value) {
	if( value == "None" )
		$("#ecole_inscription" ).show();
	else
		$("#ecole_inscription" ).hide();
}

function submitEditForm() {
   // $("#edit_inscription :button").attr("disabled", "disabled");
    $("#edit_inscription").submit();
}

//]]></script>

{% endblock %}{# html_head #}

{#------------------------------------------------------------------------------------------------#}

{% block header %}
{% endblock %}{# header #}

{#------------------------------------------------------------------------------------------------#}

{% block sidebar_and_content %}

<div class="section"> 

{% if info %}
  <div class="info message">
    {{ info|escape }}
    <a href="javascript:void(0);" onclick="closeMessage();">[close]</a>
  </div>
{% endif %}

{% if error %}
  <div class="error message">
    {{ error|escape }}
    <a href="javascript:void(0);" onclick="closeMessage();">[close]</a>
  </div>
{% endif %}

	{% if isUpdateMode %}
	<h1>Update your inscript information...</h1>
	{% else %}
	<h1>Inscript your information...</h1>
	{% endif %}
       
	<h3>L'Inscription pour l'activity "<b> {{activity.name}} </b>" dans le subject "<b>{{activity.subject}} </b>"</h3>

	<h3> Lieu :<b> {{ activity.address }} </b></h3>
	<h3> Date :<b> {{ activity.date|date:"Y-m-d H:i" }} </b></h3>
	<h1></h1>
    <form  id="edit_inscription" action="." method="POST" enctype="multipart/form-data">
	{% include "afcp/inscription/table_inscription.html" %}
    </form> 
	
</div><!-- section-->


{% endblock %}{# sidebar_and_content #}




